<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>增加后台管理员</title>
</head>
<body>
    <div>
        <form action="/tool/addAdmin" method="post">
            <p>USERNAME: <input type="text" name="username"></p>
            @csrf
            <p>PASSWORD: <input type="password" name="password"></p>
            <p>REPASS: <input type="password" name="repass"></p>
            <p><button type="submit">Submit</button></p>
        </form>
    </div>
    <div>
        现在拥有的管理员有：
        @foreach($adminList as $v)
            <b style="margin-right: 8px">{{$v['username']}}</b>
        @endforeach
    </div>
</body>
</html>
